<script setup lang="ts">
import { useRoute } from 'vue-router'
const route = useRoute()
</script>
<template>
  <div>我是首页</div>
  <div>{{ route.query.openid }}</div>
  <router-link to="/login">登录</router-link>
</template>
<style scoped lang="scss"></style>
